package com.killer.rpc;

import com.killer.pojo.User;

/**
 * rpc请求的约定对象
 */
public class RpcRequest {

    /**
     * 请求id
     */
    private String requestId;

    /**
     * 要调用的全类名
     */
    private String className;

    /**
     * 要调用的方法
     */
    private String methodName;

    /**
     * 入参的类型
     */
    private Class<?>[] paramTypes;

    /**
     * 入参的参数
     */
    private Object[] params;


    public String getRequestId() {
        return requestId;
    }

    public void setRequestId(String requestId) {
        this.requestId = requestId;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public String getMethodName() {
        return methodName;
    }

    public void setMethodName(String methodName) {
        this.methodName = methodName;
    }

    public Class<?>[] getParamTypes() {
        return paramTypes;
    }

    public void setParamTypes(Class<?>[] paramTypes) {
        this.paramTypes = paramTypes;
    }

    public Object[] getParams() {
        return params;
    }

    public void setParams(Object[] params) {
        this.params = params;
    }
}
